#ifndef BIT_REVERSE_H
#define BIT_REVERSE_H

RT_L1_DATA short bit_rev_LUT[FFT_LEN] = {
0,
64,
128,
192,
256,
320,
384,
448,
8,
72,
136,
200,
264,
328,
392,
456,
16,
80,
144,
208,
272,
336,
400,
464,
24,
88,
152,
216,
280,
344,
408,
472,
32,
96,
160,
224,
288,
352,
416,
480,
40,
104,
168,
232,
296,
360,
424,
488,
48,
112,
176,
240,
304,
368,
432,
496,
56,
120,
184,
248,
312,
376,
440,
504,
1,
65,
129,
193,
257,
321,
385,
449,
9,
73,
137,
201,
265,
329,
393,
457,
17,
81,
145,
209,
273,
337,
401,
465,
25,
89,
153,
217,
281,
345,
409,
473,
33,
97,
161,
225,
289,
353,
417,
481,
41,
105,
169,
233,
297,
361,
425,
489,
49,
113,
177,
241,
305,
369,
433,
497,
57,
121,
185,
249,
313,
377,
441,
505,
2,
66,
130,
194,
258,
322,
386,
450,
10,
74,
138,
202,
266,
330,
394,
458,
18,
82,
146,
210,
274,
338,
402,
466,
26,
90,
154,
218,
282,
346,
410,
474,
34,
98,
162,
226,
290,
354,
418,
482,
42,
106,
170,
234,
298,
362,
426,
490,
50,
114,
178,
242,
306,
370,
434,
498,
58,
122,
186,
250,
314,
378,
442,
506,
3,
67,
131,
195,
259,
323,
387,
451,
11,
75,
139,
203,
267,
331,
395,
459,
19,
83,
147,
211,
275,
339,
403,
467,
27,
91,
155,
219,
283,
347,
411,
475,
35,
99,
163,
227,
291,
355,
419,
483,
43,
107,
171,
235,
299,
363,
427,
491,
51,
115,
179,
243,
307,
371,
435,
499,
59,
123,
187,
251,
315,
379,
443,
507,
4,
68,
132,
196,
260,
324,
388,
452,
12,
76,
140,
204,
268,
332,
396,
460,
20,
84,
148,
212,
276,
340,
404,
468,
28,
92,
156,
220,
284,
348,
412,
476,
36,
100,
164,
228,
292,
356,
420,
484,
44,
108,
172,
236,
300,
364,
428,
492,
52,
116,
180,
244,
308,
372,
436,
500,
60,
124,
188,
252,
316,
380,
444,
508,
5,
69,
133,
197,
261,
325,
389,
453,
13,
77,
141,
205,
269,
333,
397,
461,
21,
85,
149,
213,
277,
341,
405,
469,
29,
93,
157,
221,
285,
349,
413,
477,
37,
101,
165,
229,
293,
357,
421,
485,
45,
109,
173,
237,
301,
365,
429,
493,
53,
117,
181,
245,
309,
373,
437,
501,
61,
125,
189,
253,
317,
381,
445,
509,
6,
70,
134,
198,
262,
326,
390,
454,
14,
78,
142,
206,
270,
334,
398,
462,
22,
86,
150,
214,
278,
342,
406,
470,
30,
94,
158,
222,
286,
350,
414,
478,
38,
102,
166,
230,
294,
358,
422,
486,
46,
110,
174,
238,
302,
366,
430,
494,
54,
118,
182,
246,
310,
374,
438,
502,
62,
126,
190,
254,
318,
382,
446,
510,
7,
71,
135,
199,
263,
327,
391,
455,
15,
79,
143,
207,
271,
335,
399,
463,
23,
87,
151,
215,
279,
343,
407,
471,
31,
95,
159,
223,
287,
351,
415,
479,
39,
103,
167,
231,
295,
359,
423,
487,
47,
111,
175,
239,
303,
367,
431,
495,
55,
119,
183,
247,
311,
375,
439,
503,
63,
127,
191,
255,
319,
383,
447,
511
};

#endif
